package com.yh.concert.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;
import lombok.experimental.Accessors;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 订单管理对象 yh_order
 *
 * @author yh
 * @date 2025-02-26
 */
@Data
@ToString
@NoArgsConstructor
@Accessors(chain = true)
@TableName("yh_order")
@ApiModel(value = "YhOrder", description = "订单管理实体")
public class YhOrder extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 订单id */
    @TableId(type= IdType.AUTO)
    @ApiModelProperty("订单id")
    private Long id;

    /** 用户id */
    @Excel(name = "用户id")
    @ApiModelProperty("用户id")
    private Long userId;

    /** 商户id */
    @Excel(name = "商户id")
    @ApiModelProperty("商户id")
    private Long merchartId;

    /** 场地id */
    @Excel(name = "场地id")
    @ApiModelProperty("场地id")
    private Long siteId;


    /** 演唱会Id */
    @Excel(name = "演唱会Id")
    @ApiModelProperty("演唱会Id")
    private Long concertId;

    /** 状态 */
    @Excel(name = "状态")
    @ApiModelProperty("状态")
    private Long status;

    /** 逻辑删除 */
    @ApiModelProperty("逻辑删除")
    private Long delFlag;

}
